package unit3;

public class Ex3_12_TestStaticClass {
    public static void main(String[] args) {
        StaticClass.callme(); //调用类方法callme()
        System.out.println("b = " + StaticClass.b); //访问类变量b
    }
}

class StaticClass {
    static int a = 42;
    static int b = 99;
    static void callme() { //定义类方法callme()
        System.out.println("a = " + a);
    }
}
